<template>
  <div>
    <q-img basic contain :class="qImgClass" :style="qImgStyle" v-bind="$attrs" v-on="$listeners" />
    <q-tooltip anchor="top middle" self="center middle" v-if="tips">{{ tips }}</q-tooltip>
  </div>
</template>

<script>
// 【预览图】
export default {
  inheritAttrs: false,

  props: {
    qImgClass: [String, Array, Object],
    qImgStyle: [String, Array, Object],
    tips: String // 提示信息
  }
}
</script>
